// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-menu--collapse
  > div
  > .el-submenu
  > .el-submenu__title
  .el-submenu__icon-arrow {
  display: none;
}
//checkedbox默认的样式
.el-checkbox__inner {
  border: 1px solid rgba(0, 209, 255, 0.6);
  background-color: transparent;
}
.el-checkbox__label {
  color: #fff;
}
// checkedbox被选中的样式
.el-checkbox__input.is-checked .el-checkbox__inner {
  background: rgba(0, 209, 255, 0.2);
  border-color: #00d1ff;
}
//checkedbox label颜色
.el-checkbox__input.is-checked + .el-checkbox__label {
  color: #fff;
}
/** el-tree */
.el-tree {
  font-size: 14px;
  color: #fff;
  background-color: transparent;
}
.el-tree-node__content {
  &:hover {
    background-color: transparent;
  }
}
.el-tree-node:focus > .el-tree-node__content {
  // background-color: rgba(0, 209, 255, 0.1);
  background-color: transparent;
}
//checked样式
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background: rgba(0, 209, 255, 0.2);
  border-color: #00d1ff;
}
/** el-tree */
/**全局表格select样式*/
.el-checkbox__input.is-disabled .el-checkbox__inner {
  background-color: transparent;
  border-color: rgba(0, 209, 255, 0.5);
}
/** 弹框样式*/
.el-dialog {
  position: relative;
  margin-top: 50vh;
  color: #ffffff;
  border: 1px solid rgba(0, 209, 255, 0.5);
  box-shadow: inset 0 0px 24px rgba(219, 255, 251, 0.2);
  background: rgba(0, 25, 39, 1);
  .el-dialog__title {
    color: #fff;
  }
  .el-dialog__body {
    color: #fff;
  }
  .el-dialog__headerbtn .el-dialog__close {
    color: #fff;
  }
}
/**单选框样式*/
.el-radio {
  .el-radio__label {
    color: #fff;
  }
  .el-radio__input {
    margin-bottom: px(5);
    //选中时的样式
    &.is-checked {
      .el-radio__inner {
        //选中时小圆圈的的颜色
        background-color: #00d1ff;
        border-color: #00d1ff;
      }
      + .el-radio__label {
        //选中时字体的颜色
        color: #00d1ff !important;
      }
    }
  }
}
/**抽屉样式*/
.el-drawer {
  overflow-y: scroll;
  background: rgba(0, 25, 39, 0.9) !important;
  border: rgba(0, 209, 255, 0.5) !important;
  box-shadow: inset 0px 0px 24px 6px rgba(219, 255, 251, 0.2) !important;
  .el-drawer__header {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    color: #fff !important;
    font-size: 16px !important;
    border-bottom: dashed 1px rgba(219, 255, 251, 0.2) !important;
    font-weight: bold !important;
    padding: 20px !important;
    margin-bottom: 0 !important;
  }
  .el-drawer__body {
    height: 600px;
    overflow: auto !important;
    padding: 0 20px;
    margin: 86px 0 85px;
  }
  .demo-drawer__footer {
    position: absolute;
    bottom: 0px;
    padding: 20px;
    left: 0;
    text-align: center;
    border-top: dashed 1px rgba(219, 255, 251, 0.2) !important;
    width: 100%;
  }
  .el-form-item {
    display: flex;
    .el-form-item__label {
      min-width: 100px;
      font-size: 14px !important;
    }
    .el-form-item__content {
      // width: 450px;
    }
    &:nth-of-type(1) {
      margin-top: 20px;
    }
  }
  .el-form-item__error {
    width: 200px;
  }
}
.el-form-item__label {
  font-size: 14px !important;
}

//日历
.el-calendar {
  background-color: transparent;
  color: #fff;
}

.tree-border {
  background: transparent !important;
}
.el-popover {
  background: rgba(38, 52, 64, 1);
  box-shadow: 0px 2px 35px 0px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(219, 255, 251, 0.1);
}
.el-popper[x-placement^="left"] .popper__arrow::after {
  border-left-color: #344a53;
}
//弹框内部表单样式
.el-input--medium .el-input__inner {
  background-color: transparent;
}
//弹框 下拉框等处理
.el-message-box {
  border: 1px solid rgba(0, 209, 255, 0.5);
  box-shadow: inset 0 0px 24px rgba(219, 255, 251, 0.2);
  background: rgba(0, 25, 39, 1);
  .el-message-box__title {
    color: #fff;
  }
  .el-message-box__content {
    color: #fff;
  }
  .el-message-box__headerbtn .el-message-box__close {
    color: #fff;
  }
  .el-message-box__btns {
    text-align: center;
  }
  .el-button--default {
    border-radius: 2px;
    border: 1px solid rgba(219, 255, 251, 0.7);
    background-color: rgba(219, 255, 251, 0.2);
    color: #ffffff;
  }
  .el-button--primary {
    border-radius: 2px;
    border: 1px solid rgba(0, 209, 255, 0.7);
    background-color: rgba(0, 209, 255, 0.2);
  }
}
//tabs样式
.el-tabs__item {
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.5);
}
.el-tabs__nav-wrap::after {
  background-color: rgba(241, 243, 249, 0.2) !important;
}
.el-tabs__nav-scroll {
  padding: 0 35px;
}
.el-tabs__item.is-active {
  color: rgba(0, 209, 255, 1);
}
.el-tabs__active-bar {
  background-color: rgba(0, 209, 255, 1);
}
//el-tree-select
.vue-treeselect__control {
  height: 40px !important;
  align-items: center;
  // background: rgba(255, 255, 255, 0.15) !important;
  background: #fff !important;
  border-color: transparent !important;
  color: #3b3b3c !important;
  .vue-treeselect__placeholder {
    color: #3b3b3c !important;
    line-height: 40px !important;
  }
  .vue-treeselect__single-value {
    color: #3b3b3c;
    line-height: 40px;
  }
  .vue-treeselect__input-container {
    display: flex;
    height: 40px;
    .vue-treeselect__input {
      color: #3b3b3c;
    }
  }
}
.vue-treeselect__menu-container {
  .vue-treeselect__menu {
    color: #3b3b3c;
    background: #fff !important;
    border-color: transparent !important ;
  }
  .vue-treeselect__option--selected {
    background: #fff !important;
    color: #3b3b3c;
  }
  .vue-treeselect__option--highlight {
    /* background: #f5f5f5; */
    color: #3b3b3c;
    background: #fff !important;
  }
}
